-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard return button. #171
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some implementation explanation.
(setq entry-pt (1- (point)))) | ||
(if entry-pt | ||
(widget-button-press entry-pt) | ||
(call-interactively #'widget-button-press)))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Down compatible, so it still calls this function no matter what.
(setq diff-line t))) | ||
(unless (= (point) (point-max)) | ||
(setq entry-pt (point)))) | ||
(when (= fd-cnt 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check if end of line.
(save-excursion | ||
(while (and (not diff-line) | ||
(not (= (point) (point-min))) | ||
(not (get-char-property (point) 'button)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking fore the widget button.
@jcs090218 Thank you so much! It looks pretty good! I'll test it later 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just tested the changes and it worked 👏 👏
Thank you @jcs090218 for this feature!
Implementation for #170.